package cn.bxshey.daoModule.mapper;


import cn.bxshey.dtoModule.dynamic.SelectPageDTO;
import cn.bxshey.entityModule.entity.Dynamic;
import cn.bxshey.voModule.dynamic.DetailVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * 动态(Dynamic)表数据库访问层
 *
 * @作者：不想说话而已
 * @Date：2024/3/9 18:46
 */
@Mapper
public interface DynamicMapper extends BaseMapper<Dynamic> {
    //根据id查询
    DetailVO selectById(Long id);

    //分页查询
    List<DetailVO> selectPage(SelectPageDTO dto);
}

